Check whether a number is perfect or not

join shbcf.ru